////////////////////////////////////////////////////////////////////////////////
// Z-Day Project File                                                         //
// -------------------------------------------------------------------------- //
// Filename:   /entities/weapons/weapon_huntingknife/shared.lua               //
// Type:       Shared                                                         //
// Contents:   "Hunting Knife" SWEP.                                          //
////////////////////////////////////////////////////////////////////////////////

if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end

SWEP.Base						= "weapon_zd_base"

SWEP.ViewModel					= "models/weapons/v_knife_t.mdl"
SWEP.WorldModel					= "models/weapons/w_knife_t.mdl"

SWEP.ViewModelFOV				= 60
SWEP.ViewModelFlip				= false

SWEP.Weight						= 5
SWEP.HoldType					= "melee"
SWEP.GunSmoke					= false
SWEP.ShowIndividualRounds		= false

SWEP.Primary.Sound				= Sound( "Weapon_Knife.Single" )
SWEP.Primary.Recoil				= 0
SWEP.Primary.Damage				= 13
SWEP.Primary.NumShots			= 1
SWEP.Primary.Cone				= 0.02
SWEP.Primary.NoCone				= false
SWEP.Primary.Delay				= 0.43
SWEP.Primary.ClipSize			= -1
SWEP.Primary.DefaultClip		= -1
SWEP.Primary.Automatic			= false
SWEP.Primary.Ammo				= "none"

SWEP.Secondary.Sound			= Sound( "Weapon_Knife.Single" )
SWEP.Secondary.Recoil			= 0
SWEP.Secondary.Damage			= 20
SWEP.Secondary.Delay			= 2
SWEP.Secondary.ClipSize			= -1
SWEP.Secondary.DefaultClip		= -1
SWEP.Secondary.Automatic		= false
SWEP.Secondary.Ammo				= "none"

SWEP.KillString1				= "sliced up"
SWEP.KillString2				= "with his hunting knife"

SWEP.Mode						= WEAPON_MELEE

SWEP.Sounds						= { "Weapon_Knife.Single" }

SWEP.PrimaryTable 				= {}
SWEP.SecondaryTable				= {}

--[[-------------------------------------------------------------------------------------------------
 Primary Fire table 
-------------------------------------------------------------------------------------------------]]--
SWEP.PrimaryTable[1] = {}
SWEP.PrimaryTable[1].time 		= 0.13
SWEP.PrimaryTable[1].damage		= SWEP.Primary.Damage
SWEP.PrimaryTable[1].punch		= nil
SWEP.PrimaryTable[1].anim		= ACT_VM_HITCENTER
SWEP.PrimaryTable[1].sound		= SWEP.Sounds[1]


--[[-------------------------------------------------------------------------------------------------
 Secondary Fire Table
-------------------------------------------------------------------------------------------------]]--
SWEP.SecondaryTable[1] = {}
SWEP.SecondaryTable[1].time		= 0
SWEP.SecondaryTable[1].damage	= SWEP.Secondary.Damage
SWEP.SecondaryTable[1].punch	= nil
SWEP.SecondaryTable[1].anim		= ACT_VM_HITCENTER
SWEP.SecondaryTable[1].sound	= SWEP.Sounds[1]

/*

KEYFRAME DATA:

ACT_VM_HITCENTER
002 Left impact
007 Left pullback
013 Right impact
017 Right pullback

ACT_VM_SWINGHARD
018 Left impact
025 Left pullback
044 Right impact
049 Right pullback

*/
